<?php
Route::group([
	'prefix' => 'exchange',
	'namespace' => 'Exchange'
], function () {
	Route::group([
		'prefix' => 'exchanges',
	], function () {
		// 兑换管理列表
		Route::get('/', 'ExchangesController@index')->name('admin.exchange.exchanges');
		// 添加兑换商品
		Route::get('/add', 'ExchangesController@add')->name('admin.exchange.exchanges.add');
		// 编辑用户
		Route::get('/edit/{id}', 'ExchangesController@edit')->name('admin.exchange.exchanges.edit');
//		// 保存用户信息
		Route::post('/save', 'ExchangesController@save')->name('admin.exchange.exchanges.save');
//		// 删除用户
        Route::get('/delete/{id}', 'ExchangesController@delete')->name('admin.exchange.exchanges.delete');
        Route::get('/shops','ExchangesController@shops')->name('admin.exchange.shops');
//		//审核店铺
//        Route::get('/shen/{id}', 'ShopsController@shen')->name('admin.shop.shops.shen');
//        //审核店铺
//        Route::post('/refund', 'ShopsController@refund')->name('admin.shop.shops.refund');
	});
});